package IO流;

import java.io.FileInputStream;
import java.io.IOException;

public class 字节输入流 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("C:\\Users\\gdq\\OneDrive\\桌面\\File文件夹\\a.txt");
        int b;
        while ((b = fis.read())!=-1){
            System.out.print((char) b);
        }
    }
}
